/*
 * This file is part of VLCJ.
 *
 * VLCJ is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * VLCJ is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with VLCJ.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Copyright 2009, 2010, 2011 Caprica Software Limited.
 */

package uk.co.caprica.vlcj.mac;

import java.awt.Dimension;

import com.apple.eawt.CocoaComponent;

/**
 * 
 */
public class VlcjMacVideoSurfaceCocoaComponent extends CocoaComponent {

  private static final long serialVersionUID = 1L;

  static {
    System.loadLibrary("VlcjMacVideoSurface"); // <--- Does not exist (yet?)
  }
  
  public native long createNSViewLong();
  
  @Override
  public int createNSView() {
    return 0;
  }

  @Override
  public Dimension getMaximumSize() {
    return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
  }

  @Override
  public Dimension getMinimumSize() {
    return new Dimension(2, 2);
  }

  @Override
  public Dimension getPreferredSize() {
    return new Dimension(600, 340);
  }
}
